package com.rabbit.eap.framework.log.service;

import com.rabbit.eap.framework.common.service.BaseService;
import com.rabbit.eap.framework.core.pagination.Paging;
import com.rabbit.eap.framework.log.entity.SysOperationLog;
import com.rabbit.eap.framework.log.param.SysOperationLogPageParam;

/**
 * @projectName eap
 * @packageName com.rabbit.eap.framework.log.service
 * @className ISysOperationLogService
 * @author： rabbit
 * @version： 1.0
 * @since： 2020/4/26 16:30
 * <p>Description: ISysOperationLogService
 * 系统操作日志 服务类
 * </p>

 */
public interface ISysOperationLogService extends BaseService<SysOperationLog> {

    /**
     * 保存
     *
     * @param sysOperationLog
     * @return
     * @throws Exception
     */
    boolean saveSysOperationLog(SysOperationLog sysOperationLog) throws Exception;

    /**
     * 修改
     *
     * @param sysOperationLog
     * @return
     * @throws Exception
     */
    boolean updateSysOperationLog(SysOperationLog sysOperationLog) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteSysOperationLog(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param sysOperationLogPageParam
     * @return
     * @throws Exception
     */
    Paging<SysOperationLog> getSysOperationLogPageList(SysOperationLogPageParam sysOperationLogPageParam) throws Exception;

}

